package com.gxcc3.ygps.system.service.impl;

import com.gxcc3.ygps.common.core.domain.entity.SysIotReportDevice;
import com.gxcc3.ygps.system.mapper.SysIotReportDeviceMapper;
import com.gxcc3.ygps.system.service.ISysIotReportDeviceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysIotReportDeviceServiceImpl implements ISysIotReportDeviceService {


    @Resource
    SysIotReportDeviceMapper reportDeviceMapper;


    /**
     * 获取上报的设备列表
     * @param device 设备
     * @return 结果
     */
    @Override
    public List<SysIotReportDevice> selectReportDeviceList(SysIotReportDevice device) {
        return reportDeviceMapper.selectReportDeviceList(device);
    }
}
